home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Graphics
/
ContourPlot
/
Source
/
Makefile.postamble
< prev
next >
Wrap
Makefile
|
1992-11-30
|
611b
|
19 lines
# Makefile.postamble
# A make bug workaround --
# Make sure we don't remove anything by accident if
# interrupted at the wrong time. (NextAnswers - misc.736)
#
.PRECIOUS : $(SRCFILES)
MV = /bin/mv
# Remove all the system headers from Makefile.dependencies.
Makefile.dependencies::
@($(AWK) \
'/.*\.o/ {printf("\n%s :", $$1); firstField = 3} \
{for (i = firstField; i < NF; i++) { \
if ($$i !~ /NextDeveloper\/Headers/) printf(" \\\n%s", $$i)} \
firstField = 1} \
END {print}' Makefile.dependencies > Makefile.dependencies.tmp; \
$(MV) -f Makefile.dependencies.tmp Makefile.dependencies)